{% extends 'base.html' %}
{% load i18n %}

{% block content %}
<div class="content">
  <h1>
    <a href="/album/{{ album.key.id }}">{{ album.name }}</a>
    <a href="/album/{{ album.created_date|date:'Y/m/d' }}/{{ album.name }}">&para;</a>
  </h1>
  {% include 'pictures.html' %}
</div>
<div class="side">
  {% include 'user_link.html' %}
  <ul class="nav">
    <li><a href="/album">{% trans "back to album list" %}</a></li>
    {% ifequal user album.creator %}
    <li><a href="/album/{{ album.key.id }}/export">{% trans "export a backup" %}</a></li>
    <li><a href="/album/{{ album.key.id }}/upload">{% trans "upload a picture" %}</a></li>
    <li><a href="/album/{{ album.key.id }}/edit">{% trans "modify album description" %}</a></li>
    <li><a href="/album/{{ album.key.id }}/delete">{% trans "delete this album" %}</a></li>
    <li><a href="/album/create">{% trans "create new album"%}</a></li>
    {% endifequal %}
  </ul>
</div>
{% endblock %}

{% block footer %}
{% endblock %}
